﻿using Basic.FlowRemoteModel.Flow.Model;
using WeDonekRpc.Client;
using WeDonekRpc.Model;

namespace Basic.FlowService.Interface
{
    public interface IFlowService
    {
        string GetFlowName ( long id );
        FlowChildren GetChildren ( long id );
        long Add ( FlowAdd add );
        void Delete ( long id );
        FlowDto Get ( long id );
        PagingResult<FlowData> Query ( FlowQueryParam query, IBasicPage paging );
        bool Set ( long id, FlowSet set );
        bool Stop(long id);
    }
}